package com.ylr.send.framework.mapper;

import com.ylr.send.framework.entity.SmsTemplateEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-06-14 21:23:54
 * className: SmsTemplateMapper
 * version: 1.0
 * description:
 */
public interface SmsTemplateMapper extends BaseMapper<SmsTemplateEntity> {

    /**
     * 查询短信模板
     * @param code 编号
     * @return 短信模板对象
     */
    SmsTemplateEntity selectByCode(@Param("code") String code);
}
